// node .\testit\caseit.js
import find from "../jf.bin.js"

find(/hello/ig, 'testit', '*.txt', {
    includeLineNumbers: true,
    outputFile: "./fucker.txt"
})
.then(results => console.log(results))
.catch(err => {
    console.error(err)
})



find(/hello/ig, '.', '*.txt', {
    includeLineNumbers: true,
    outputFile: "./out.txt"
})
.then(results => console.log(results))
.catch(err => {
    console.error(err)
})

// todo: blocking at index.js